package com.xxl.job.xxljob.domain;

/**
 * @author Tang
 * @classname XxlJobTokenInfo
 * @description [  ]
 * @date 2023/4/6 11:15
 */
public class XxlJobTokenInfo {

    private static final XxlJobTokenInfo INSTANCE = new XxlJobTokenInfo();

    /**
     * token
     */
    private String token;

    /**
     * 执行器id
     */
    private Integer jobGroupId;

    public XxlJobTokenInfo setToken(String token) {
        this.token = token;
        return this;
    }

    public XxlJobTokenInfo setJobGroupId(Integer jobGroupId) {
        this.jobGroupId = jobGroupId;
        return this;
    }

    public String getToken() {
        return token;
    }

    public Integer getJobGroupId() {
        return jobGroupId;
    }

    public static XxlJobTokenInfo getInstance() {
        return INSTANCE;
    }

}
